﻿<html xmlns:th="http://www.thymeleaf.org">
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>添加商铺</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <div th:include="layout/resources :: resources"></div>
</head>
<body>
<div class="container">
    <form th:action="@{/shop/add}" enctype="multipart/form-data" method="post">
        <div class="form-group">
            <label for="shopName">店名</label>
            <input type="text" class="form-control" id="shopName" name="shopName">
        </div>
        <div class="form-group">
            <label for="shopType">店铺类型</label>
            <input type="text" class="form-control" id="shopType" name="shopType">
        </div>
        <div class="form-group">
            <label for="address">地址</label>
            <input type="text" class="form-control" id="address" name="address">
        </div>
        <div class="form-group">
            <label for="logo" class="control-label">图片</label>
            <input id="logo" name="logo" type="file" class="file">
        </div>
        <button type="submit" class="btn btn-default">保存</button>
    </form>
</div>
</body>
</html>
